package com.wjh.bean;

public interface Constants {
    // 响应code
	String HTTP_RES_CODE_NAME = "code";
	// 响应msg
	String HTTP_RES_CODE_MSG = "msg";
	// 响应data
	String HTTP_RES_CODE_DATA = "data";
	// 响应请求成功
	String HTTP_RES_CODE_200_VALUE = "success";
	// 系统错误
	String HTTP_RES_CODE_500_VALUE = "fial";
	// 响应请求成功code
	Integer HTTP_RES_CODE_200 = 200;
	//用户未绑定
	Integer HTTP_RES_CODE_201 = 201;
	// 系统错误
	Integer HTTP_RES_CODE_500 = 500;
	//发送邮件
	String SMS_MAIL = "email";
	//会员Token
	String MEMBER_TOKEN = "MEMBER_TOKEN";
	//会员cookie token 名称
	String MEMBER_TOKEN_COOKIE = "MEMBER_TOKEN_COOKIE";
	//会员cookie token 有效期
	Integer MEMBER_TOKEN_COOKIE_TIME = 60*60*24*80;


	//用户有效期90天
	Long MEMBER_TOKEN_TIME = (long) 60*60*24*90;
	//订单Token
	String ORDER_TOKEN = "ORDER_TOKEN";
	//订单 token 有效期
	Long ORDER_TOKEN_TIME = (long) 60*60*16;

	String PAY_SUCCESS = "success";
	String PAY_FAIL = "fail";
}
